
#ifndef __CHECKING_KEY_H
#define __CHECKING_KEY_H

#include "Key.h"

/** Interface to the key, describing using a key for checking a signature (verifying the origin of some data). */
class CheckingKey : public virtual Key
{
   public:
      /** Gets a cryptlib context for checking signed data which has the key
       * loaded into it. */
      virtual int getCryptlibCheckingContext(CRYPT_CONTEXT *keycontext) = 0;
};

#endif
